package shared.pojo

import upickle.default._

/**
 * Created by yz on 7/11/2022
 */
object Predict {

  case class PredictData(sampleId: String = "12345", name: String = "绘云", age: String = "30", ast: String = "100",
                         alt: String = "200", plt: String = "100", tyr: String = "60", tca: String = "5",
                         phe: String = "30", trp: String = "100", valine: String = "200", ca: String = "100",
                         met: String = "60", gca: String = "5", gcdca: String = "200", tcdca: String = "100")

  object PredictData {

    implicit val rw = macroRW[PredictData]

  }

  object Predict {

    case class Response(missionId: Int = 0, valid: Boolean = true, message: String = "")

    object Response {

      implicit val rw = macroRW[Response]

    }

  }


}
